home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Psigpause(2) May. 1, 1992 Psigpause(2)
-
-
- N✓NA✓AM✓ME✓E
- Psigpause - suspend process until a signal is received
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- void Psigpause( LONG mask );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓s_✓i_✓g_✓p_✓a_✓u_✓s_✓e sets a new signal mask and then causes the call-
- ing process to go to sleep until a signal that is not
- being ignored or masked is received. If a signal handler
- has been established for that signal with the _✓P_✓s_✓i_✓g_✓n_✓a_✓l sys-
- tem call, then the handler is invoked before _✓P_✓s_✓i_✓g_✓p_✓a_✓u_✓s_✓e
- returns; if the handler does a longjmp to a different
- point in the program, if it exits the program, or if the
- signal handler was set to SIG_DFL and the default action
- for the signal is to terminate the process, then _✓P_✓s_✓i_✓g_✓p_✓a_✓u_✓s_✓e
- will never return.
-
- If _✓P_✓s_✓i_✓g_✓p_✓a_✓u_✓s_✓e does return, then the signal mask is restored
- to what it was prior to the _✓P_✓s_✓i_✓g_✓p_✓a_✓u_✓s_✓e system call, _✓i_✓._✓e_✓.
- the new signal mask specified by _✓m_✓a_✓s_✓k is only temporary.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓P_✓a_✓u_✓s_✓e(2), _✓P_✓s_✓i_✓g_✓b_✓l_✓o_✓c_✓k(2), _✓P_✓s_✓i_✓g_✓n_✓a_✓l(2), _✓P_✓s_✓i_✓g_✓s_✓e_✓t_✓m_✓a_✓s_✓k(2)
-
- B✓BU✓UG✓GS✓S
- If a signal handler doesn't return (for example, because
- it uses _✓l_✓o_✓n_✓g_✓j_✓m_✓p) then the signal mask is left set to _✓m_✓a_✓s_✓k.
-
- A✓AU✓UT✓TH✓HO✓OR✓R
- Alex Kiernan
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.95 MiNT Programmer's Manual 1
-
-
-